[INFO] cloning repository https://github.com/Zwiieb/DNS_RUST
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zwiieb/DNS_RUST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZwiieb%2FDNS_RUST", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZwiieb%2FDNS_RUST'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c87fa2a01671e5355392382f4dbdebaa3a990d82
[INFO] fixing Zwiieb/DNS_RUST against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZwiieb%2FDNS_RUST" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Zwiieb/DNS_RUST
[INFO] finished tweaking git repo https://github.com/Zwiieb/DNS_RUST
[INFO] tweaked toml for git repo https://github.com/Zwiieb/DNS_RUST written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Zwiieb/DNS_RUST on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Zwiieb/DNS_RUST already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8808f942dd00030ca9e2f7f77a2b4e2b364865ae451e529a17acacd1fc45e385
[INFO] running `Command { std: "docker" "start" "8808f942dd00030ca9e2f7f77a2b4e2b364865ae451e529a17acacd1fc45e385", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8808f942dd00030ca9e2f7f77a2b4e2b364865ae451e529a17acacd1fc45e385" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8808f942dd00030ca9e2f7f77a2b4e2b364865ae451e529a17acacd1fc45e385", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8808f942dd00030ca9e2f7f77a2b4e2b364865ae451e529a17acacd1fc45e385" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tp2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `dns_question`
[INFO] [stdout]   --> src/tests_dns_question.rs:2:13
[INFO] [stdout]    |
[INFO] [stdout]  2 | use crate::{dns_question, dns_rtype};
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | mod tests_dns_question;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dns_rtype`
[INFO] [stdout]   --> src/tests_dns_rtype.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout]  1 | use crate::dns_rtype;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | mod tests_dns_rtype;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `dns_header`, `dns_packet`, `dns_question`, and `dns_rtype`
[INFO] [stdout]   --> src/tests_dns_packet.rs:1:13
[INFO] [stdout]    |
[INFO] [stdout]  1 | use crate::{dns_header, dns_packet, dns_question, dns_rtype};
[INFO] [stdout]    |             ^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | mod tests_dns_packet;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dns_rr::DnsRR`
[INFO] [stdout]   --> src/tests_dns_packet.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | use crate::dns_rr::DnsRR;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | mod tests_dns_packet;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dns_rtype::DnsRType`
[INFO] [stdout]   --> src/tests_dns_packet.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | use crate::dns_rtype::DnsRType;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | mod tests_dns_packet;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dns_header::DnsHeader`
[INFO] [stdout]   --> src/test_dns_header.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | use crate::dns_header::DnsHeader;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | mod test_dns_header;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/test_dns_header.rs:5:9
[INFO] [stdout]    |
[INFO] [stdout]  5 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | mod test_dns_header;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dns_rr`
[INFO] [stdout]   --> src/test_dns_rr.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout]  1 | use crate::dns_rr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod test_dns_rr;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dns_rtype::DnsRType`
[INFO] [stdout]   --> src/test_dns_rr.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | use crate::dns_rtype::DnsRType;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod test_dns_rr;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rrtype` is never read
[INFO] [stdout]   --> src/dns_rr.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |                         _=> rrtype=1
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rrtype` is never read
[INFO] [stdout]    --> src/dns_rr.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |             _=> rrtype=1
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/dns_header.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let mut h2 = header2.to_be_bytes();
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/dns_question.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut split = self.qname.split(".");
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `split`
[INFO] [stdout]   --> src/dns_question.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut split = self.qname.split(".");
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_split`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rtype` is assigned to, but never used
[INFO] [stdout]   --> src/dns_question.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut rtype = DnsRType::A;
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_rtype` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |             1 => rtype = DnsRType::A,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 62 |             28 => rtype = DnsRType::AAAA,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |             2 => rtype = DnsRType::NS,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |             5 => rtype = DnsRType::CNAME,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |             12 => rtype = DnsRType::PTR,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 |             15 => rtype = DnsRType::MX,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/dns_packet.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         for z in 0..(ancount+nscount+arcount){
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DnsRR` is never constructed
[INFO] [stdout]  --> src/dns_rr.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct DnsRR {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/dns_rr.rs:13:12
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl DnsRR {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  13 |     pub fn new(rname: u16, rtype: DnsRType,rclass:u16,ttl:u32,rdlength: u16,rdata: String)->DnsRR{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  24 |     pub fn serialize(&self)->Vec<u8>{
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub fn deserialize(vec : Vec<u8>)-> Vec<DnsRR>{
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn get_size(&self)-> usize{
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn ttl(&self) -> u32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn rdlength(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn rdata(&self) -> String {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn set_ttl(&mut self, ttl: u32) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn set_rdlength(&mut self, rdlength: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn set_rdata(&mut self, rdata: String) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn rname(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn Dnsrtype(&self) -> DnsRType {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn rclass(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn set_rname(&mut self, rname: u16) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn set_Dnsrtype(&mut self, Dnsrtype: DnsRType) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn set_rclass(&mut self, rclass: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LIST_ID` is never used
[INFO] [stdout]  --> src/dns_header.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | static mut LIST_ID: Vec<u16> = vec![];
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DnsHeader` is never constructed
[INFO] [stdout]  --> src/dns_header.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct DnsHeader {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/dns_header.rs:20:19
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl DnsHeader {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  20 |     pub(crate) fn new(qr: bool, aa: bool, tc: bool, ra: bool, rcode: u16, qdcount: u16, ancount: u16, nscount: u16, arcount: u16) -...
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn serialize(&self) ->Vec<u8>{
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn id(&self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn qr(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn opcode(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn aa(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn tc(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn rd(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn ra(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn z(&self) -> bool {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn rcode(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn qdcount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn ancount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn nscount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn arcount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn set_id(&mut self, id: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn set_qr(&mut self, qr: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn set_opcode(&mut self, opcode: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn set_aa(&mut self, aa: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn set_tc(&mut self, tc: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn set_rd(&mut self, rd: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn set_ra(&mut self, ra: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn set_z(&mut self, z: bool) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn set_rcode(&mut self, rcode: u16) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn set_qdcount(&mut self, qdcount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn set_ancount(&mut self, ancount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn set_nscount(&mut self, nscount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn set_arcount(&mut self, arcount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AAAA`, `NS`, `CNAME`, `PTR`, and `MX` are never constructed
[INFO] [stdout]  --> src/dns_rtype.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum DnsRType {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 4 |     A,
[INFO] [stdout] 5 |     AAAA,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     NS,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 7 |     CNAME,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     PTR,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 9 |     MX,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `DnsRType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/dns_question.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl DnsQuestion {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn deserialize(vecQuestion : Vec<u8>)->DnsQuestion{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn get_size(&self)-> usize{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn qname(&self) -> &str {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn qtype(&self) -> &dns_rtype::DnsRType {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn qclass(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn set_qname(&mut self, qname: String) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub fn set_qtype(&mut self, qtype: dns_rtype::DnsRType) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn set_qclass(&mut self, qclass: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DnsPacket` is never constructed
[INFO] [stdout]  --> src/dns_packet.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct DnsPacket {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/dns_packet.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl DnsPacket {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(qr: bool, aa: bool, tc: bool, ra: bool, rcode: u16, qdcount: u16, ancount: u16, nscount: u16,arcount : u16, qname:Str...
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn serialize(&self)-> Vec<u8>{
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn byte_size(&self)-> usize{
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn to_dname(vec: Vec<u8>,offset : u8 )->String{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn header(&mut self) -> &mut dns_header::DnsHeader {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn question(&mut self) -> &mut dns_question::DnsQuestion {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn reponse(&mut self) -> &mut Vec<DnsRR> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn set_header(&mut self, header: dns_header::DnsHeader) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn set_question(&mut self, question: dns_question::DnsQuestion) {self.question = question;}
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 78 |     pub fn set_reponse(&mut self, reponse: Vec<DnsRR>) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_get_set_qtype` is never used
[INFO] [stdout]   --> src/tests_dns_question.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn test_get_set_qtype(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Dnsrtype` should have a snake case name
[INFO] [stdout]  --> src/dns_rr.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Dnsrtype: DnsRType,
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RRName` should have a snake case name
[INFO] [stdout]   --> src/dns_rr.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let RRName = self.rname.to_be_bytes();
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `rrname`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RRtype` should have a snake case name
[INFO] [stdout]   --> src/dns_rr.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let RRtype = self.Dnsrtype.no().to_be_bytes();
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `rrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RRclass` should have a snake case name
[INFO] [stdout]   --> src/dns_rr.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let RRclass = self.rclass.to_be_bytes();
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `rrclass`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TTL` should have a snake case name
[INFO] [stdout]   --> src/dns_rr.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let TTL = self.ttl.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `ttl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RDL` should have a snake case name
[INFO] [stdout]   --> src/dns_rr.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let RDL = self.rdlength.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `rdl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Dnsrtype` should have a snake case name
[INFO] [stdout]    --> src/dns_rr.rs:152:12
[INFO] [stdout]     |
[INFO] [stdout] 152 |     pub fn Dnsrtype(&self) -> DnsRType {
[INFO] [stdout]     |            ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_Dnsrtype` should have a snake case name
[INFO] [stdout]    --> src/dns_rr.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn set_Dnsrtype(&mut self, Dnsrtype: DnsRType) {
[INFO] [stdout]     |            ^^^^^^^^^^^^ help: convert the identifier to snake case: `set_dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Dnsrtype` should have a snake case name
[INFO] [stdout]    --> src/dns_rr.rs:161:36
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn set_Dnsrtype(&mut self, Dnsrtype: DnsRType) {
[INFO] [stdout]     |                                    ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/dns_header.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |             while LIST_ID.contains(&temp) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `idB` should have a snake case name
[INFO] [stdout]   --> src/dns_header.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let idB = self.id.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `id_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `qdB` should have a snake case name
[INFO] [stdout]   --> src/dns_header.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let qdB = self.qdcount.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `qd_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `anB` should have a snake case name
[INFO] [stdout]   --> src/dns_header.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let anB = self.ancount.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `an_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nsB` should have a snake case name
[INFO] [stdout]   --> src/dns_header.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let nsB = self.nscount.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `ns_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `arB` should have a snake case name
[INFO] [stdout]   --> src/dns_header.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let arB = self.arcount.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `ar_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Qtype` should have a snake case name
[INFO] [stdout]   --> src/dns_question.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let Qtype = self.qtype.no().to_be_bytes();
[INFO] [stdout]    |             ^^^^^ help: convert the identifier to snake case: `qtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Qclass` should have a snake case name
[INFO] [stdout]   --> src/dns_question.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let Qclass = self.qclass.to_be_bytes();
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `qclass`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `vecQuestion` should have a snake case name
[INFO] [stdout]   --> src/dns_question.rs:48:24
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn deserialize(vecQuestion : Vec<u8>)->DnsQuestion{
[INFO] [stdout]    |                        ^^^^^^^^^^^ help: convert the identifier to snake case: `vec_question`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RR` should have a snake case name
[INFO] [stdout]   --> src/dns_packet.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         for RR in self.reponse.iter(){
[INFO] [stdout]    |             ^^ help: convert the identifier to snake case: `rr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dns_header::DnsHeader`
[INFO] [stdout]  --> src/test_dns_header.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dns_header::DnsHeader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rrtype` is never read
[INFO] [stdout]   --> src/dns_rr.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |                         _=> rrtype=1
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rrtype` is never read
[INFO] [stdout]    --> src/dns_rr.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |             _=> rrtype=1
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/dns_header.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let mut h2 = header2.to_be_bytes();
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/dns_question.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut split = self.qname.split(".");
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `split`
[INFO] [stdout]   --> src/dns_question.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut split = self.qname.split(".");
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_split`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rtype` is assigned to, but never used
[INFO] [stdout]   --> src/dns_question.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut rtype = DnsRType::A;
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_rtype` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |             1 => rtype = DnsRType::A,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 62 |             28 => rtype = DnsRType::AAAA,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |             2 => rtype = DnsRType::NS,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |             5 => rtype = DnsRType::CNAME,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |             12 => rtype = DnsRType::PTR,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rtype` is never read
[INFO] [stdout]   --> src/dns_question.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 |             15 => rtype = DnsRType::MX,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/dns_packet.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         for z in 0..(ancount+nscount+arcount){
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `question`
[INFO] [stdout]  --> src/tests_dns_question.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let question = dns_question::DnsQuestion::new(String::from("3"),dns_rtype::DnsRType::AAAA,0x0001);
[INFO] [stdout]   |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_question`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v2`
[INFO] [stdout]   --> src/tests_dns_question.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let v2 = DnsQuestion::deserialize(v);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_v2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v2`
[INFO] [stdout]   --> src/tests_dns_question.rs:61:24
[INFO] [stdout]    |
[INFO] [stdout] 61 |     assert!(matches!(q,v2));
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_v2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]   --> src/tests_dns_packet.rs:14:33
[INFO] [stdout]    |
[INFO] [stdout] 14 |     assert!(matches!(p.header(),h));
[INFO] [stdout]    |                                 ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]   --> src/tests_dns_packet.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 |     assert!(matches!(p.question(),q));
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/tests_dns_packet.rs:28:34
[INFO] [stdout]    |
[INFO] [stdout] 28 |     assert!(matches!(p.reponse(),r));
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `deserialize` is never used
[INFO] [stdout]   --> src/dns_rr.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl DnsRR {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn deserialize(vec : Vec<u8>)-> Vec<DnsRR>{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_get_set_qtype` is never used
[INFO] [stdout]   --> src/tests_dns_question.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn test_get_set_qtype(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Dnsrtype` should have a snake case name
[INFO] [stdout]  --> src/dns_rr.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Dnsrtype: DnsRType,
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RRName` should have a snake case name
[INFO] [stdout]   --> src/dns_rr.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let RRName = self.rname.to_be_bytes();
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `rrname`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RRtype` should have a snake case name
[INFO] [stdout]   --> src/dns_rr.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let RRtype = self.Dnsrtype.no().to_be_bytes();
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `rrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RRclass` should have a snake case name
[INFO] [stdout]   --> src/dns_rr.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let RRclass = self.rclass.to_be_bytes();
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `rrclass`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TTL` should have a snake case name
[INFO] [stdout]   --> src/dns_rr.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let TTL = self.ttl.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `ttl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RDL` should have a snake case name
[INFO] [stdout]   --> src/dns_rr.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let RDL = self.rdlength.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `rdl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Dnsrtype` should have a snake case name
[INFO] [stdout]    --> src/dns_rr.rs:152:12
[INFO] [stdout]     |
[INFO] [stdout] 152 |     pub fn Dnsrtype(&self) -> DnsRType {
[INFO] [stdout]     |            ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_Dnsrtype` should have a snake case name
[INFO] [stdout]    --> src/dns_rr.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn set_Dnsrtype(&mut self, Dnsrtype: DnsRType) {
[INFO] [stdout]     |            ^^^^^^^^^^^^ help: convert the identifier to snake case: `set_dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Dnsrtype` should have a snake case name
[INFO] [stdout]    --> src/dns_rr.rs:161:36
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn set_Dnsrtype(&mut self, Dnsrtype: DnsRType) {
[INFO] [stdout]     |                                    ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/dns_header.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |             while LIST_ID.contains(&temp) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `idB` should have a snake case name
[INFO] [stdout]   --> src/dns_header.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let idB = self.id.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `id_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `qdB` should have a snake case name
[INFO] [stdout]   --> src/dns_header.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let qdB = self.qdcount.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `qd_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `anB` should have a snake case name
[INFO] [stdout]   --> src/dns_header.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let anB = self.ancount.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `an_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nsB` should have a snake case name
[INFO] [stdout]   --> src/dns_header.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let nsB = self.nscount.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `ns_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `arB` should have a snake case name
[INFO] [stdout]   --> src/dns_header.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let arB = self.arcount.to_be_bytes();
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `ar_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Qtype` should have a snake case name
[INFO] [stdout]   --> src/dns_question.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let Qtype = self.qtype.no().to_be_bytes();
[INFO] [stdout]    |             ^^^^^ help: convert the identifier to snake case: `qtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Qclass` should have a snake case name
[INFO] [stdout]   --> src/dns_question.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let Qclass = self.qclass.to_be_bytes();
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `qclass`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `vecQuestion` should have a snake case name
[INFO] [stdout]   --> src/dns_question.rs:48:24
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn deserialize(vecQuestion : Vec<u8>)->DnsQuestion{
[INFO] [stdout]    |                        ^^^^^^^^^^^ help: convert the identifier to snake case: `vec_question`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RR` should have a snake case name
[INFO] [stdout]   --> src/dns_packet.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         for RR in self.reponse.iter(){
[INFO] [stdout]    |             ^^ help: convert the identifier to snake case: `rr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_get_set_DnsRType` should have a snake case name
[INFO] [stdout]   --> src/test_dns_rr.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn test_get_set_DnsRType() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_get_set_dns_rtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.12s
[INFO] [stderr] crater-edition-check: all finished
[INFO] running `Command { std: "docker" "inspect" "8808f942dd00030ca9e2f7f77a2b4e2b364865ae451e529a17acacd1fc45e385", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8808f942dd00030ca9e2f7f77a2b4e2b364865ae451e529a17acacd1fc45e385", kill_on_drop: false }`
[INFO] [stdout] 8808f942dd00030ca9e2f7f77a2b4e2b364865ae451e529a17acacd1fc45e385
